package com.raycloud.dao;

import java.util.List;

import com.raycloud.domain.UserRelation;

public interface UserRelationDao {
	public void insertUserRelation(UserRelation userRelation);
	
	public List<UserRelation> queryAllFans(String dbId, long userId);
	
	public UserRelation getUserRelation(String dbId, long userId, long followId, int type);
	
	public boolean isExist(String dbId, long userId, long followId);
	
	public void updateUserRelation(UserRelation userRelation);
}
